Einhugur macOS Bridge plugin.

NSVisualEffectView.MaskImage Property

An image whose alpha channel masks the visual effect view's material.

MaskImage as EinhugurMacOSBridge.NSImage {Read and Write}

Remarks

The default value of this property is nil, which is the equivalent of allowing all of the visual effect view's content to show through. Assigning an image to this property masks the portions of the visual effect view using the image's alpha channel.

If the visual effect view is the content view of a window, the mask is applied in an appropriate way to the window's shadow.

See Also

NSVisualEffectView Class